import { defineStore } from 'pinia'
export const userStore = defineStore('userStore', {
  state: () => {
    return {
      title: '排水管网五位一体管理平台',
    }
  },
  getters: {},
  actions: {},
})
export const userMap = defineStore('userMap', {
  state: () => {
    return {
      map: '地图容器',
      map_tdt: '天地图容器',
    }
  },
  getters: {},
  actions: {},
})
export const userSource = defineStore('userSource', {
  state: () => {
    return {
      PLinesource: '单线缓冲区',
    }
  },
  getters: {},
  actions: {},
})
export const mapStyle = defineStore('mapStyle', {
  state: () => {
    return {
      map_style: '地图容器样式',
      map_style_tdt: '地图容器样式',
    }
  },
  getters: {},
  actions: {},
})
export const popValue = defineStore('popValue', {
  state: () => {
    return {
      pointValue: '点弹窗信息',
      lineValue: '线弹窗信息',
    }
  },
  getters: {},
  actions: {},
})

export const switchList = defineStore('switchList', {
  state: () => {
    return {
      opinionBtn: false,
      detectSwitch: '检测管理收回',
    }
  },
  getters: {},
  actions: {},
})
export const switchList2 = defineStore('switchList2', {
  state: () => {
    return {
      opinionBtn: false,
      repairSwitch: '修复管理收回',
    }
  },
  getters: {},
  actions: {},
})
export const switchList3 = defineStore('switchList3', {
  state: () => {
    return {
      opinionBtn: false,
      operationSwitch: '空间查询收回',
    }
  },
  getters: {},
  actions: {},
})
export const switchList4 = defineStore('switchList4', {
  state: () => {
    return {
      opinionBtn: false,
      projectSwitch: '工程清单收回',
    }
  },
  getters: {},
  actions: {},
})
export const mapFlag = defineStore('mapFlag', {
  state: () => {
    return {
      vecFlag: true,
      imgFlag: false,
    }
  },
  getters: {},
  actions: {},
})
// 空间查询菜单
export const switchList5 = defineStore('switchList5', {
  state: () => {
    return {
      queryBtn: false,
    }
  },
  getters: {},
  actions: {},
})
// 修复树菜单
export const switchList6 = defineStore('switchList6', {
  state: () => {
    return {
      queryBtn: false,
    }
  },
  getters: {},
  actions: {},
})
// 检测树菜单
export const switchList7 = defineStore('switchList7', {
  state: () => {
    return {
      queryBtn: false,
    }
  },
  getters: {},
  actions: {},
})
// 探测树菜单
export const switchList8 = defineStore('switchList8', {
  state: () => {
    return {
      queryBtn: false,
    }
  },
  getters: {},
  actions: {},
})
//诊断专题
export const switchList9 = defineStore('switchList9', {
  state: () => {
    return {
      queryBtn: false,
    }
  },
  getters: {},
  actions: {},
})
// 大数据面板
export const switchList10 = defineStore('switchList10', {
  state: () => {
    return {
      queryBtn: true,
    }
  },
  getters: {},
  actions: {},
})
// 排查面板
export const switchList11 = defineStore('switchList11', {
  state: () => {
    return {
      queryBtn: true,
    }
  },
  getters: {},
  actions: {},
})
// 功能菜单-常用功能
export const switchList12 = defineStore('switchList12', {
  state: () => {
    return {
      queryBtn: true,
    }
  },
  getters: {},
  actions: {},
})
// 按钮组-卷帘工具
export const switchList13 = defineStore('switchList13', {
  state: () => {
    return {
      queryBtn: false,
    }
  },
  getters: {},
  actions: {},
})
